﻿//
// Created: 2018/9/14
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.WXshopBuiness
{
    public class  Address:IEntity
    {
    
       ///<summary>
       ///
       ///<summary>
       public string AddressID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Receiver  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Phone  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Area  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string DetailAddress  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string Tag  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int IsDefault  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string UserId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime CreateTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int Enable  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string PostCode  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int SortIndex  { get; set; } 
        
        public string Sheng { get; set; }
        public string Shi { get; set; }
        public string QuYu { get; set; }
        
    
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}